<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/page/share/taglib.jsp" %>
<html>
<head>
<title>专题列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="/css/vip.css" type="text/css">
<script language="JavaScript">

	//到指定的分页页面
	function topage(page){
		var form = document.forms[0];
		form.page.value=page;
		form.submit();
	}

	function firm()
	{//利用对话框返回的值（true 或者 false）
		if(confirm("你确定要删除此专题吗？")){
			event.returnValue = true;
		}else{
			event.returnValue = false;
		}
	}

</script>
<SCRIPT language=JavaScript src="/js/FoshanRen.js"></SCRIPT>
</head>

<body bgcolor="#FFFFFF" text="#000000" marginwidth="0" marginheight="0">
<html:form action="/cms/feature/list" method="post">
<html:hidden property="page"/>
<html:hidden property="method" value="list"/>
  <table width="98%" border="0" cellspacing="1" cellpadding="2" align="center">
    <tr ><td colspan="7"  bgcolor="#ffbe26" align="right">
    	<%@ include file="/WEB-INF/page/share/fenye.jsp" %>
   </td></tr>
    <tr>
      <td width="10%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">专题号</font></div></td>
      <td width="22%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">名称</font></div></td>
      <td width="22%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">描述</font></div></td>
      <td width="12%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">创建时间</font></div></td>
      <td width="12%" bgcolor="#ffbe26"> <div align="center"><font color="#000000">状态</font></div></td>
      <td width="12%" nowrap bgcolor="#ffbe26"> <div align="center"><font color="#000000">删除</font></div></td>
      </tr>
<!---------------------------LOOP START------------------------------>
<c:forEach items="${pageView.records}" var="entry">
    <tr>
      <td bgcolor="f5f5f5"><div align="center">${entry.featureId}</div></td>
      <td bgcolor="f5f5f5"><div align="center"><a href="<html:rewrite action="/cms/news/featureManage"/>?method=editUI&featureId=${entry.featureId}">
   		${entry.name}</a></div></td>
      <td bgcolor="f5f5f5"><div align="center">${entry.description}</div></td>
      <td bgcolor="f5f5f5"><div align="center">${entry.createTime}</div></td>
      <td bgcolor="f5f5f5"><div align="center">${entry.visible ? '可用':'不可用'}</div></td>
	  <td bgcolor="f5f5f5"> <div align="center"><a href="<html:rewrite action="/cms/news/featureManage"/>?method=delete&featureId=${entry.featureId}">
      <img src="/images/delete.gif" width="15" height="16" border="0" onClick=firm()></a></div></td>
	</tr>
</c:forEach>
    <!----------------------LOOP END------------------------------->
    <tr> 
      <td bgcolor="f5f5f5" colspan="7" align="center"><table width="100%" border="0" cellspacing="1" cellpadding="3">
          <tr> 
            <td width="5%"></td>
              <td width="85%">
              <input name="AddDic" type="button" class="frm_btn" id="AddDic" onClick="javascript:window.location.href='<html:rewrite action="/cms/news/featureManage"/>?method=addUI'" value="添加专题"> &nbsp;&nbsp;
			  
            </td>
          </tr>
        </table></td>
    </tr>
  </table>
</html:form>
</body>
</html>